﻿@model CommonShop.Web.Areas.Manage.Models.AdminLoginModel
@{
    ViewBag.Title = "Login";
    <link href="../../../Content/styles/login-box.css" rel="stylesheet" type="text/css" />
    
}
    
@using (Html.BeginForm())
{
    <h1>@Html.LabelFor(m => m.UserName)</h1>
    <h2>@Html.ValidationMessageFor(m=> m.UserName)</h2>
    <h1>@Html.TextBoxFor(m=>m.UserName)</h1>

    <h1>@Html.LabelFor(m => m.Password)</h1>
    <h2>@Html.ValidationMessageFor(m=> m.Password)</h2>
    <h1>@Html.TextBoxFor(m=>m.Password)</h1>
     
    <input type = "submit" value = "登陆"  style="margin-left:90px;" />                              
}

@*
<div id="login-box">

<div id="login-box-name" style="margin-top:20px;">@Html.LabelFor(m => m.UserName):</div>
        <div id="login-box-field" style="margin-top:20px;">
            @Html.ValidationMessageFor(m=>m.UserName)
            <input class="form-login" title="Username" size="30" maxlength="2048">  @Html.TextBoxFor(m=>m.UserName)</input>
           
        </div>
        <input name="q" class="form-login" title="Username" value=""  />
        
<div id="login-box-name">@Html.LabelFor(m => m.Password):</div><div id="login-box-field">
<input name="q" type="password" class="form-login" title="Password" value="@Html.ValidationMessageFor(m=>m.Password)" size="30" maxlength="2048" />
</div>
@*<br />
<span class="login-box-options"><input type="checkbox" name="1" value="1"> 记住我 <a href="#" style="margin-left:30px;">忘记密码?</a></span>
<br />
<br />
    <input type = "submit" value = "登陆" width="103" height="42" style="margin-left:90px;" />
<a href="#"><img src="../../Content/images/login-btn.png" width="103" height="42" style="margin-left:90px;" /></a>
    </div>
*@